package com.dmagic.cms.service;

import java.util.List;
import java.util.Map;

import com.dmagic.cms.bean.HeatMapFormBean;
import com.dmagic.cms.common.exception.ServiceException;
import com.dmagic.cms.common.query.PageUtil;
import com.dmagic.cms.entity.HeatMap;
import com.dmagic.cms.entity.LinkedHeatMap;

public interface HeatMapService {

	public void setLinkedHeatMap(LinkedHeatMap linkedHeatMap) throws ServiceException;

	public List<HeatMapFormBean> findUploadFileInfoImage() throws ServiceException;

	public void saveHeatMaps(List<HeatMap> heatMap) throws ServiceException;

	public List<HeatMapFormBean> searchHeatMap(PageUtil<Map> pageUtil) throws ServiceException;

	public List<HeatMap> queryHeatMapInfo(Long languageId);

	/**
	 * 
	 * @param heatMapId
	 * @return
	 * 
	 * @author songlin.li
	 */
	public HeatMap getHeatMap(Long heatMapId);

	/**
	 * 
	 * @param linkedHeatMapLinkedId
	 * @param linkedHeatMapType
	 * 
	 * @author songlin.li
	 */
	public void deleteLinkedHeatMapByLinkedIdAndType(Long linkedHeatMapLinkedId, Integer linkedHeatMapType);
}
